bugfix: create should not be available after changing deselecting processes
This commit is contained in:
parent
18cc446063
commit
632c35720c
1 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: ContikiMoteTypeDialog.java,v 1.37 2007/11/25 23:32:05 fros4943 Exp $
|
* $Id: ContikiMoteTypeDialog.java,v 1.38 2007/11/29 05:58:42 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.contikimote;
|
package se.sics.cooja.contikimote;
|
||||||
|
@ -2593,11 +2593,11 @@ public class ContikiMoteTypeDialog extends JDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!processWasSelected || sourceFilename == null) {
|
if (!processWasSelected || sourceFilename == null) {
|
||||||
return;
|
createButton.setEnabled(libraryCreatedOK = false);
|
||||||
|
} else {
|
||||||
|
autoSelectDependencyProcesses(processName, sourceFilename, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
autoSelectDependencyProcesses(processName, sourceFilename, true);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
logger.warn("Unhandled action: " + e.getActionCommand());
|
logger.warn("Unhandled action: " + e.getActionCommand());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue