Changeset 3851:2f2fb72f4bdb in orange


Ignore:
Timestamp:
05/14/08 12:54:51 (6 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
b294ce2121a7b48b690c054ab7018f74d2bad060
Message:

bg fix: save network crashed in qt4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngNetwork.py

    r3848 r3851  
    155155        graphFile.write('### This file was generated with Orange Network Visualizer ### \n\n\n') 
    156156        if name == '': 
    157             if (int(qVersion()[0]) >= 3): 
    158                 graphFile.write('*Network ' + '"network" \n\n') 
    159             else: 
    160                 graphFile.write('*Network ' + '"Qt network" \n\n') 
     157            graphFile.write('*Network ' + '"no name" \n\n') 
    161158        else: 
    162159            graphFile.write('*Network ' + str(name) + ' \n\n') 
Note: See TracChangeset for help on using the changeset viewer.