Distinguish between adding groups and subgroups
Fixed visual distortion in PasswordGenDlg Updated Spanish translation git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@240 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
@@ -103,6 +103,13 @@ void KeepassGroupView::OnHideSearchResults(){
|
||||
}
|
||||
|
||||
void KeepassGroupView::OnNewGroup(){
|
||||
CGroup NewGroup;
|
||||
CEditGroupDialog dlg(db,&NewGroup,parentWidget(),true);
|
||||
if(dlg.exec())
|
||||
createGroup(NewGroup.Title, NewGroup.Image, NULL);
|
||||
}
|
||||
|
||||
void KeepassGroupView::OnNewSubgroup(){
|
||||
GroupViewItem* parent=(GroupViewItem*)currentItem();
|
||||
CGroup NewGroup;
|
||||
CEditGroupDialog dlg(db,&NewGroup,parentWidget(),true);
|
||||
|
||||
@@ -65,6 +65,7 @@ class KeepassGroupView:public QTreeWidget{
|
||||
void OnCurrentGroupChanged(QTreeWidgetItem*);
|
||||
void OnDeleteGroup();
|
||||
void OnNewGroup();
|
||||
void OnNewSubgroup();
|
||||
void OnEditGroup();
|
||||
void updateIcons();
|
||||
void OnHideSearchResults();
|
||||
|
||||
Reference in New Issue
Block a user