mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix: overflow menu should be closed when click it once again (#1485)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -141,7 +141,9 @@ export class Transmission extends EventTarget {
|
||||
this.setCurrentPopup(new MoveDialog(this, this.remote));
|
||||
break;
|
||||
case 'show-overflow-menu':
|
||||
{
|
||||
if (this.popup instanceof OverflowMenu) {
|
||||
this.setCurrentPopup(null);
|
||||
} else {
|
||||
this.setCurrentPopup(
|
||||
new OverflowMenu(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user