mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Fixed a bug where "Reset to Defaults" in the Columns menu wouldn't refresh menu items' marked state.
This commit is contained in:
parent
caf04f0d3f
commit
9e7d27dcda
@ -67,6 +67,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
/* Helpers */
|
||||
- (void)fillColumnsMenu
|
||||
{
|
||||
[[app columnsMenu] removeAllItems];
|
||||
NSArray *menuItems = [[[table columns] model] menuItems];
|
||||
for (NSInteger i=0; i < [menuItems count]; i++) {
|
||||
NSArray *pair = [menuItems objectAtIndex:i];
|
||||
@ -250,6 +251,7 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
- (void)resetColumnsToDefault
|
||||
{
|
||||
[[[table columns] model] resetToDefaults];
|
||||
[self fillColumnsMenu];
|
||||
}
|
||||
|
||||
- (void)revealSelected
|
||||
|
Loading…
x
Reference in New Issue
Block a user