Set initial macro menu state (fixes issue #172)

This commit is contained in:
Adrian Avramescu 2015-07-28 13:57:42 -07:00
parent 7c2b6e73c2
commit 1e1f447ec8

View File

@ -617,6 +617,8 @@ LRESULT Notepad_plus::init(HWND hwnd)
_toolBar.addToRebar(&_rebarTop); _toolBar.addToRebar(&_rebarTop);
_rebarTop.setIDVisible(REBAR_BAR_TOOLBAR, willBeShown); _rebarTop.setIDVisible(REBAR_BAR_TOOLBAR, willBeShown);
checkMacroState();
//--Init dialogs--// //--Init dialogs--//
_findReplaceDlg.init(_pPublicInterface->getHinst(), hwnd, &_pEditView); _findReplaceDlg.init(_pPublicInterface->getHinst(), hwnd, &_pEditView);
_incrementFindDlg.init(_pPublicInterface->getHinst(), hwnd, &_findReplaceDlg, _nativeLangSpeaker.isRTL()); _incrementFindDlg.init(_pPublicInterface->getHinst(), hwnd, &_findReplaceDlg, _nativeLangSpeaker.isRTL());