try to limit the netmaks workaround for Windows only, otherwise it probably breaks on OS X

This commit is contained in:
Anton Keks 2013-07-07 20:37:33 +03:00
parent 97f88ea979
commit bbfece9ceb

View File

@ -189,7 +189,7 @@ public class RangeFeederGUI extends AbstractFeederGUI {
if (netmaskCombo.indexOf(netmaskCombo.getText()) < 0) return;
// workaround for Windows: selection event is fired when the dropdown is opened
if (netmaskCombo.getListVisible()) return;
if (Platform.WINDOWS && netmaskCombo.getListVisible()) return;
}
try {