[PATCH 2/4] Make some dialogs modal to MainWindow

Dirk Hohndel dirk at hohndel.org
Tue Mar 11 11:23:10 PDT 2014


On Tue, 2014-03-11 at 18:30 +0200, Lubomir I. Ivanov wrote:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
> 
> For some dialogs like Preferences and Renumber it would be
> much safer to make them Qt::WindowModal to the parent (MainWindow).

Initially the Preferences was non-modal on purpose. So the idea was that
you could make changes there, hit Apply (instead of OK), work with the
main window to see the effect, and go back to the still open Preferences
window.

If we really make it modal I guess we can kill the whole 'Apply' thing
but I'm not sure I like that.

Discuss.

/D




More information about the subsurface mailing list