Disable preferences.
This commit is contained in:
parent
30d8aead96
commit
3d140f2402
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module Qasim
|
||||||
act_pref = Qt::Action.new _('&Preferences'), @context_menu
|
act_pref = Qt::Action.new _('&Preferences'), @context_menu
|
||||||
act_pref.setIcon( Qt::Icon::fromTheme("configure") ) rescue nil
|
act_pref.setIcon( Qt::Icon::fromTheme("configure") ) rescue nil
|
||||||
act_pref.setIconVisibleInMenu true
|
act_pref.setIconVisibleInMenu true
|
||||||
#act_pref.setEnabled true
|
act_pref.setEnabled false
|
||||||
act_pref.connect(SIGNAL(:triggered)) do
|
act_pref.connect(SIGNAL(:triggered)) do
|
||||||
res = @pref_dialog.show
|
res = @pref_dialog.show
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue