Add header context menu to entry view table
Add header context menu to entry view table (accessible using right click on header), providing: - Actions to toggle 'Hide Usernames' / 'Hide Passwords' - Actions to toggle column visibility - Actions to resize columns - Action to reset view to defaults
This commit is contained in:
@@ -578,3 +578,21 @@ void EntryModel::setHidePasswords(const bool hide)
|
||||
m_hidePasswords = hide;
|
||||
emit hidePasswordsChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Fonic <https://github.com/fonic>
|
||||
* Toggle state of 'Hide Usernames' setting
|
||||
*/
|
||||
void EntryModel::toggleHideUsernames(const bool hide)
|
||||
{
|
||||
setHideUsernames(hide);
|
||||
}
|
||||
|
||||
/**
|
||||
* @author Fonic <https://github.com/fonic>
|
||||
* Toggle state of 'Hide Passwords' setting
|
||||
*/
|
||||
void EntryModel::toggleHidePasswords(const bool hide)
|
||||
{
|
||||
setHidePasswords(hide);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user