mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
ide: Removed double separator from toolbar after "Select All"
git-svn-id: svn://ultimatepp.org/upp/trunk@2956 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7ff4a06ce9
commit
02dc2bcffb
2 changed files with 4 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ bool BarCtrl::IsEmpty() const
|
|||
|
||||
void BarCtrl::Separator()
|
||||
{
|
||||
AddNC(separator.DoIndex(sii++).Margin(lsepm, rsepm).SetStyle(*sepstyle).SetSize(ssize));
|
||||
AddNC(separator.At(sii++).Margin(lsepm, rsepm).SetStyle(*sepstyle).SetSize(ssize));
|
||||
}
|
||||
|
||||
void BarCtrl::AddCtrl(Ctrl *ctrl, Size sz)
|
||||
|
|
|
|||
|
|
@ -200,7 +200,9 @@ void Ide::Edit(Bar& menu) {
|
|||
}
|
||||
|
||||
menu.MenuSeparator();
|
||||
menu.Add("Find and Replace", THISBACK(SearchMenu));
|
||||
|
||||
if(menu.IsMenuBar())
|
||||
menu.Add("Find and Replace", THISBACK(SearchMenu));
|
||||
|
||||
if(!designer && menu.IsMenuBar()) {
|
||||
menu.Add("Insert", THISBACK(InsertMenu));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue