option to open tab when saving selection as file
This commit is contained in:
@@ -332,6 +332,9 @@ class InnerBigText(QWidget):
|
||||
)
|
||||
if selected_file:
|
||||
self.model.write_range(start, end, selected_file)
|
||||
open_tab = self.model.settings.session.getboolean("general", "open_tab_on_save_as_file")
|
||||
if open_tab:
|
||||
RavenUI.window.open_file(selected_file)
|
||||
|
||||
def _select_all(self):
|
||||
self.selection_highlight.start_byte = 0
|
||||
|
||||
Reference in New Issue
Block a user