Added shortcut combination Ctrl + S to perform Save/Save As operation in Kexi
Review Request #118631 - Created June 9, 2014 and submitted
Adds shortcut Ctrl+S to save changes within any changed context (tables, forms, scripts, queries, reports). It required suppresing action file_save of KTextEditor that is used as text editor for scripts and queries
Ctrl+S combination calls Save/Save As in proper context when working with Kexi
Good job! You actually inspired me to look further. Ctrl+S is a global action like the menu actions (eg. Ctrl+O, Ctrl+N), so I propose to reuse existing method that does similar hack: http://paste.kde.org/pm89fwxqi In the improved form of setupMainMenuActionShortcut(), does not force to mention slot name again and connects directly to action that is already available (via trigger()). By the way I updated all the calls to setupMainMenuActionShortcut(). Seems to work. As a bonus, alternate shortcut (KDE can support primary and alternate shortcut for each action), is now supported.