mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-10 21:38:04 -05:00
Add tooltip to auto-repeat button in selection dialog
This commit is contained in:
parent
a56f4d25ad
commit
ff659a3439
@ -82,10 +82,11 @@ public class SelectDialog<T> extends JDialog {
|
||||
|
||||
// add repeat button
|
||||
if (autoRepeatEnabled) {
|
||||
autoRepeatCheckBox.setSelected(autoRepeatSelected);
|
||||
autoRepeatCheckBox.addChangeListener(evt -> autoRepeatCheckBox.setToolTipText(autoRepeatCheckBox.isSelected() ? "Select and remember for next time" : "Select once and ask again next time"));
|
||||
autoRepeatCheckBox.setCursor(getPredefinedCursor(HAND_CURSOR));
|
||||
autoRepeatCheckBox.setIcon(ResourceManager.getIcon("button.repeat"));
|
||||
autoRepeatCheckBox.setSelectedIcon(ResourceManager.getIcon("button.repeat.selected"));
|
||||
autoRepeatCheckBox.setSelected(autoRepeatSelected);
|
||||
c.add(autoRepeatCheckBox, "pos 1al select.y n select.y2");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user