Mercurial > octave-nkf
diff gui/src/editor/FileEditor.h @ 14690:ca733a66be7a gui
Fixed bug with not opening the editor when clicking a file from the file browser. Implemented watching the file on disk.
* MainWindow: Simplified opening file request calls.
* FileEditor: Added new slot that closes tabs without and index and made FileEditorTabs connect to it.
* FileEditorTab: Added QFileSystemWatcher and fixed bug with setting modified status on m_modified. Implemented message boxes for the cases that a file has been removed, renamed und modified from outside.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Fri, 25 May 2012 23:56:31 +0200 |
parents | 628eeaf879f7 |
children |
line wrap: on
line diff
--- a/gui/src/editor/FileEditor.h Fri May 25 20:54:36 2012 +0200 +++ b/gui/src/editor/FileEditor.h Fri May 25 23:56:31 2012 +0200 @@ -75,6 +75,7 @@ void handleFileNameChanged (QString fileName); void handleTabCloseRequest (int index); + void handleTabCloseRequest (); void activeTabChanged (int index); void handleEditorStateChanged ();