ability to select inspectable page

This commit is contained in:
Vladimir Krivosheev
2014-12-08 10:39:34 +01:00
parent e5cda859f1
commit 56acbd6ade
@@ -115,11 +115,13 @@ public abstract class RemoteVmConnection extends VmConnection<Vm> {
append(itemToString.fun((T)value));
}
});
list.setSelectedIndex(selectedIndex);
if (selectedIndex != -1) {
list.setSelectedIndex(selectedIndex);
}
JBPopupFactory.getInstance().
createListPopupBuilder(list).
setTitle("Choose Page to debug").
setTitle("Choose Page to Debug").
setItemChoosenCallback(new Runnable() {
@Override
public void run() {