Mercurial > octave-nkf
comparison gui/src/m-editor/file-editor.cc @ 14788:85daba52b2d4 gui
Fixed bug with editor complaining that a file has been modified by another application when saving.
* file-editor-tab.cc: Now "unwatching" file before saving.
* file-editor-tab: Renamed slot to update window title.
* file-editor.cc: Renamed slot to update window title.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 21 Jun 2012 20:18:30 +0200 |
parents | 7e41fcbb23a4 |
children | e3ae0850b105 |
comparison
equal
deleted
inserted
replaced
14785:7e41fcbb23a4 | 14788:85daba52b2d4 |
---|---|
351 _copy_action->setShortcutContext (Qt::WindowShortcut); | 351 _copy_action->setShortcutContext (Qt::WindowShortcut); |
352 _cut_action->setShortcut (QKeySequence::Cut); | 352 _cut_action->setShortcut (QKeySequence::Cut); |
353 _cut_action->setShortcutContext (Qt::WindowShortcut); | 353 _cut_action->setShortcutContext (Qt::WindowShortcut); |
354 paste_action->setShortcut (QKeySequence::Paste); | 354 paste_action->setShortcut (QKeySequence::Paste); |
355 paste_action->setShortcutContext (Qt::WindowShortcut); | 355 paste_action->setShortcutContext (Qt::WindowShortcut); |
356 run_action->setShortcut (Qt::Key_F5); | 356 run_action->setShortcut (Qt::SHIFT + Qt::Key_F5); |
357 run_action->setShortcutContext (Qt::WindowShortcut); | 357 run_action->setShortcutContext (Qt::WindowShortcut); |
358 next_bookmark_action->setShortcut (Qt::Key_F2); | 358 next_bookmark_action->setShortcut (Qt::Key_F2); |
359 next_bookmark_action->setShortcutContext (Qt::WindowShortcut); | 359 next_bookmark_action->setShortcutContext (Qt::WindowShortcut); |
360 previous_bookmark_action->setShortcut (Qt::SHIFT + Qt::Key_F2); | 360 previous_bookmark_action->setShortcut (Qt::SHIFT + Qt::Key_F2); |
361 previous_bookmark_action->setShortcutContext (Qt::WindowShortcut); | 361 previous_bookmark_action->setShortcutContext (Qt::WindowShortcut); |